using System;
using System.Windows;
using System.Windows.Controls;
using jSLCore.Client.Presentation.jBinding;
using jSLCore.Client.Presentation.jBinding.BaseConverters.MathConverters;

namespace jSLApp.Client.Converters
{
    public class RatingBinding_RO : jReadOnlyBinding
    {
        public RatingBinding_RO()
        {
            ElementPropertyPath = "Value";
            Converter = new jDevideConverter() {Operand = 5};
        }
    }

    public class RatingBinding : jValidationBinding
    {
        public RatingBinding()
        {
            ElementPropertyPath = "Value";
            Converter = new jDevideConverter() { Operand = 5 };
        }
    }
}